/**
 * @author Jordan Barroga
 * @author Reed Pasatiempo
 */

import javax.swing.*;

public class SettingsMenu 
{

	static Settings temp;
	
	public void SettingsMenu()
	{
		temp = new Settings();
	}
	
	public void createGUI()
	{
		JFrame frame = new JFrame("Settings Menu");
		JPanel main = new JPanel();
		JTabbedPane menu = new JTabbedPane();
		main.add(menu);
		JPanel snake = new JPanel();
		snake.setSize(300,400);
		JPanel board = new JPanel();
		board.setSize(300, 400);
		JPanel bg = new JPanel();
		bg.setSize(300, 400);
		
		
		frame.setDefaultCloseOperation(frame.HIDE_ON_CLOSE);
		
		frame.add(main);
		
		frame.setSize(500, 600);
		
		frame.setVisible(true);
		
		// Tabbed Menu
		
		menu.addTab("Snake", snake);
		menu.addTab("Board", board);
		menu.addTab("Background", bg);
		
	}
	
	public Settings returnSettings()
	{
		return temp;
	}
}
